#include<stdio.h>
int main()
{
    float lirun;
    float jiang;
    float a,b,c,d,e;
    printf("enter lirun\n");
    scanf("%f",&lirun);
    if(lirun>1000000){
        a=lirun-1000000;
        jiang=a*0.01;
    }else
    if (lirun<=1000000&&lirun>600000)
    {
        b=lirun-600000;
        jiang=b*0.015;
    }else
    if(lirun<=600000&&lirun>400000){
        c=lirun-400000;
        jiang=c*0.03;
    }else
    if (lirun<=400000&&lirun>100000)
    {
        d=lirun-100000;
        jiang=d*0.05;
    }
    if(lirun<=100000){
        jiang=lirun;
    }
    printf("the jiang is %3.1f",jiang);
    
    
    
    
}